<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!-- 导航组件 -->
<nav class="am-g am-g-fixed blog-fixed blog-nav">
	<button
		class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only blog-button"
		data-am-collapse="{target: '#blog-collapse'}">
		<span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span>
	</button>

	<div class="am-collapse am-topbar-collapse" id="blog-collapse">
		<ul class="am-nav am-nav-pills am-topbar-nav">
		<c:forEach items="${navList}" var="nav">
		<li><a href="${nav.url }">${nav.title }</a></li>
		</c:forEach>
		</ul>
		<form class="am-topbar-form am-topbar-right am-form-inline"
			role="search">
			<div class="am-form-group">
				<input type="text" class="am-form-field am-input-sm"
					placeholder="搜索">
			</div>
		</form>
	</div>
</nav>